LOCK_NS=read_write, LOCK_S=read_write, LOCK_BL=read_write
Lock configuration MSBs for page 1 (rows 0x40 through 0x7f). Locks are stored with 3-way majority vote encoding, so that bits can be set independently.
This OTP location is always readable, and is write-protected by its own permissions.
LOCK_S | Lock state for Secure accesses to this page. Thermometer-coded, so lock state can be advanced permanently from any state to any less-permissive state by programming OTP. Software can also advance the lock state temporarily (until next OTP reset) using the SW_LOCKx registers. 0 (read_write): Page is fully accessible by Secure software. 1 (read_only): Page can be read by Secure software, but can not be written. 2 (reserved): Do not use. Behaves the same as INACCESSIBLE. 3 (inaccessible): Page can not be accessed by Secure software. |
LOCK_NS | Lock state for Non-secure accesses to this page. Thermometer-coded, so lock state can be advanced permanently from any state to any less-permissive state by programming OTP. Software can also advance the lock state temporarily (until next OTP reset) using the SW_LOCKx registers. Note that READ_WRITE and READ_ONLY are equivalent in hardware, as the SBPI programming interface is not accessible to Non-secure software. However, Secure software may check these bits to apply write permissions to a Non-secure OTP programming API. 0 (read_write): Page can be read by Non-secure software, and Secure software may permit Non-secure writes. 1 (read_only): Page can be read by Non-secure software 2 (reserved): Do not use. Behaves the same as INACCESSIBLE. 3 (inaccessible): Page can not be accessed by Non-secure software. |
LOCK_BL | Dummy lock bits reserved for bootloaders (including the RP2350 USB bootloader) to store their own OTP access permissions. No hardware effect, and no corresponding SW_LOCKx registers. 0 (read_write): Bootloader permits user reads and writes to this page 1 (read_only): Bootloader permits user reads of this page 2 (reserved): Do not use. Behaves the same as INACCESSIBLE 3 (inaccessible): Bootloader does not permit user access to this page |
R1 | Redundant copy of bits 7:0 |
R2 | Redundant copy of bits 7:0 |